#include <stdio.h>
# define MAXN 10
int main()
{
    int found, i, left, mid, n, right, sorted, x;
    int a[MAXN];

    scanf("%d %d", &n, &x);
    for(i = 0; i < n; i++){
        scanf("%d", &a[i]);
    }

    sorted = 1;
    for(i = 1; i < n; i++){
        if
(a[i-1]>=a[i])
{
            
sorted=0;

            break;
        }
    }
    if(sorted == 0){
        printf("Invalid Value\n");
    }else{
        found = 0;
        
left=0,right=n-1;
 
        while(left <= right){ 
            
mid=(left+right)>>1;
 
            if (x == a[mid]){
                
found=1;

                break; 
            }else if (x < a[mid]){
                
right=mid-1;
   
            }else{
                
left=mid+1;
 
            }
        } 
        if(found != 0){
            printf("%d\n",mid);
        }
        else{
            printf( "Not Found\n");
        }
    }   

    return 0;
}